Preparing an application to be profiled
==================================
Add a reference to HibernatingRhinos.Profiler.Appender.dll assembly (located in the downloadable zip).
In the application startup (Application_Start in web applications, Program.Main in windows / console applications or the App constructor for WPF applications), make the following call:
HibernatingRhinos.Profiler.Appender.NHibernate.NHibernateProfiler.Initialize();

For running the profiler in production, use the HibernatingRhinos.Profiler.Production.dll instead of the HibernatingRhinos.Profiler.Appender.dll, and call the following in the application startup:
HibernatingRhinos.Profiler.Production.ProductionProfiling.Initialize()


Profiling the application
=====================
Open the NHProf.exe
Start using the application you wish to profile
You should see the results immediately in the UI.

Notes
=====
This will work only when profiling on the current machine, you can profile a remote machine by passing the host name to the Initialize() call.

For any issues that you run into, please inform us at the support mailing list:
http://groups.google.com/group/nhprof